home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5204 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: imb.com!jon
  2. From: jon@imb.com (Jonathan Lee)
  3. Newsgroups: comp.lang.c
  4. Subject: Need help on DPMI32 communications programs
  5. Date: 8 Feb 1996 16:54:45 GMT
  6. Organization: IMB, Inc.
  7. Message-ID: <4fd9sl$6ek@imb-gw.imb.com>
  8. NNTP-Posting-Host: localhost.imb.com
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi,
  12.     I am having problems to write a communication program in DOS 32 bit
  13. protected mode enviroment on Windows 95 DOS box and Windows NT DOS box. If
  14. anyone can help by email me a sample program will realy appreciate.
  15.  
  16. My Compiler:Borland BC++ 4.52 and Powerpack.
  17. Problems   :It works fine in Windows 3.1 or pure DOS enviroment, but
  18.             got a error message:
  19.             "This DPMI32 cannot be run on Win32" on
  20.             Win32 enviroment (Windows 95,NT dos box).
  21. The routines I used:    bioscom,outputb,inportb.
  22. routine I try to use:    Win32 API routines:
  23.             CreateFile - OK
  24.             GetCommState - Unresolved external 'GetCommState' referenced
  25.                     from module ...
  26.             SetCommState - same as above
  27.             SetCommMask  - same as above
  28.             .......
  29.         I guess Borland has yet to fully implement Win32 API routines
  30.     into their Powerpack pakage?????
  31.     so S.O.S.....
  32.  
  33.  
  34.     I used Borland bioscom and outportb/inportb routines
  35.  
  36. --
  37.  
  38. ==============================================================================
  39.  
  40. Jonathan Lee                     Voice: 617-864-1115 x146
  41. Information Marketing Businesses, Inc.  Fax:   617-868-3221
  42. 18 Hurley Street                        Email: jon@imb.com
  43. Cambridge, MA  02141 USA
  44.  
  45. ==============================================================================
  46.